﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KCMS.BusinessLogic.Models;

namespace KCMS.BusinessLogic.Interfaces
{
    public interface IMenuItemService
    {
        MenuItem getById(Guid id);
        MenuItem getByCodeIndex(String code, int index);
        IEnumerable<MenuItem> getAll();
        IEnumerable<MenuItem> getByMenuId(Guid menuId);
        void update(MenuItem page);
        void delete(Guid id);
        void save(MenuItem page);
    }
}
